package com.biyesheji.service;

import com.biyesheji.domain.Business;
import com.baomidou.mybatisplus.extension.service.IService;
import com.biyesheji.domain.Orders;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * <p>
 * 用户信息 服务类
 * </p>
 *
 * @author 崔
 * @since 2023-02-12
 */
@Transactional
public interface IBusinessService extends IService<Business> {


    public List<Business> getBusinessList(String businessPhone);

    List<Business> getBusiness(Long id, String businessPhone, Integer status);


    // 员工的禁用和启用商家
    Boolean updateBusiness(Business business);
}
